package edu.upc.fib.lamsandroid.server.api.model;

import java.util.List;

public class ToolContentDataAssessmentQuestion extends ToolContentData {

    public static final int TYPE_MULTIPLE_CHOICE = 1;
    public static final int TYPE_MATCHING_PAIRS = 2;
    public static final int TYPE_SHORT_ANSWER = 3;
    public static final int TYPE_NUMERICAL = 4;
    public static final int TYPE_TRUE_FALSE = 5;
    public static final int TYPE_ESSAY = 6;
    public static final int TYPE_ORDERING = 7;

    private String title;

    private String body;

    private int type;

    private boolean trueFalseCorrectAnswer;

    private List<ToolContentDataAssessmentQuestionOption> options;

    public ToolContentDataAssessmentQuestion() {

    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getBody() {
        return body;
    }

    public void setBody(String body) {
        this.body = body;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public boolean isTrueFalseCorrectAnswer() {
        return trueFalseCorrectAnswer;
    }

    public void setTrueFalseCorrectAnswer(boolean trueFalseCorrectAnswer) {
        this.trueFalseCorrectAnswer = trueFalseCorrectAnswer;
    }

    public List<ToolContentDataAssessmentQuestionOption> getOptions() {
        return options;
    }

    public void setOptions(List<ToolContentDataAssessmentQuestionOption> options) {
        this.options = options;
    }
}
